//
//  CustomTabBar.h
//  CustomTabBar
//
//  Created by 张琦 on 2016/10/24.
//  Copyright © 2016年 张琦. All rights reserved.
//

#import <UIKit/UIKit.h>

@class CustomTabBar;

@protocol CustomTabBarDelegate <NSObject>

@optional
- (void)tabBar:(CustomTabBar *)tabBar didSelectedButtonFrom:(long)fromBtnTag to:(long)toBtnTag;

@end

@interface CustomTabBar : UIView
@property (nonatomic, weak) id <CustomTabBarDelegate> delegate;

- (void)addCustomTabBarButtonWithItem:(UITabBarItem *)item;
@end
